package com.cyzy.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@TableName("seckill")
public class Seckill {

  @TableId(type = IdType.AUTO)
  private long seckillId;
  private String title;
  private long courseId;
  private double price;
  private double seckillPrice;
  private java.sql.Timestamp startTime;
  private long seckillTime;
  private java.sql.Timestamp endTime;
  private long totalLimit;
  private long studentLimitCount;
  private long soldCount;
  private long campusId;
  private String status;
  private String rejectReason;
  private java.sql.Timestamp createTime;
  private java.sql.Timestamp updateTime;

}
